<tasks>
	{foreach from=$tasks item=task key=tid}
	<task id="{$tid}" images="{$task.images}" name="{$task.name}"  pid="{$task.pid}" author="{$task.author}" date="{$task.date}" finish_date="{$task.finish_date}" finish_date_left="{$task.finish_date_left}" dateago="{$task.dateago}" state_date="{$task.status_date}" desc="{$task.desc}" important="{$task.important}" tasktype="{$task.tasktype}" reproted="{$task.reported}" pointTypeID="{$task.pointTypeID}" point="{$task.point}" >
		<users>
			{foreach from=$task.users item=user}
			<user id="{$user.id}" name="{$user.name}"  image="{$user.image}" />
			{/foreach}
		</users>
	</task>
	{/foreach}
</tasks>
